package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 金蝶-发票-应收单/销售开票收款计划对象 erp_king_invoice_receivable_receipt_plan_info
 *
 * @author wutao
 * @date 2024-06-26
 */
@TableName("erp_king_invoice_receivable_receipt_plan_info")
@ApiModel(value = "erp_king_invoice_receivable_receipt_plan_info对象", description = "金蝶-发票-应收单/销售开票收款计划")
@Data
public class KingInvoiceReceivableReceiptPlanEntity extends BaseVo {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 应收单/销售开票Id,接口
     */
    @ApiModelProperty("应收单/销售开票Id,接口")
    @TableField("invoice_receivable_id")
    @Excel(name = "应收单/销售开票Id,接口")
    private String invoiceReceivableId;

    /**
     * 到期日
     */
    @ApiModelProperty("到期日")
    @TableField("due_time")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dueTime;

    /**
     * 按比例收%
     */
    @ApiModelProperty("按比例收%")
    @TableField("receipt_ratio")
    @Excel(name = "按比例收%")
    private String receiptRatio;

    /**
     * 应收金额=按比例收*明细里的不含税金额
     */
    @ApiModelProperty("应收金额=按比例收*明细里的不含税金额")
    @TableField("receipt_amount")
    @Excel(name = "应收金额=按比例收*明细里的不含税金额")
    private String receiptAmount;

    /**
     * 销售订单,接口
     */
    @ApiModelProperty("销售订单,接口")
    @TableField("sale_order_id")
    @Excel(name = "销售订单,接口")
    private String saleOrderId;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    @TableField("remarks")
    @Excel(name = "备注")
    private String remarks;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("更新人")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty("更新时间")
    @TableField("update_time")
    private Date updateTime;

    /**
     * 是否可用
     */
    @ApiModelProperty("是否可用")
    @TableField("is_used")
    @Excel(name = "是否可用")
    private Integer isUsed;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setDueTime(Date dueTime) {
        this.dueTime = dueTime;
    }

    public Date getDueTime() {
        return dueTime;
    }

    public void setReceiptRatio(String receiptRatio) {
        this.receiptRatio = receiptRatio;
    }

    public String getReceiptRatio() {
        return receiptRatio;
    }

    public void setReceiptAmount(String receiptAmount) {
        this.receiptAmount = receiptAmount;
    }

    public String getReceiptAmount() {
        return receiptAmount;
    }

    public void setSaleOrderId(String saleOrderId) {
        this.saleOrderId = saleOrderId;
    }

    public String getSaleOrderId() {
        return saleOrderId;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getRemarks() {
        return remarks;
    }

}
